package com.hss.rxjava.bean.claims;

import android.os.Parcel;

public class ApplicationTypeModel implements android.os.Parcelable  {
	
	public String id;
	public String name;
	public String code;

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(this.id);
		dest.writeString(this.name);
		dest.writeString(this.code);
	}

	public ApplicationTypeModel() {
	}

	protected ApplicationTypeModel(Parcel in) {
		this.id = in.readString();
		this.name = in.readString();
		this.code = in.readString();
	}

	public static final Creator<ApplicationTypeModel> CREATOR = new Creator<ApplicationTypeModel>() {
		@Override
		public ApplicationTypeModel createFromParcel(Parcel source) {
			return new ApplicationTypeModel(source);
		}

		@Override
		public ApplicationTypeModel[] newArray(int size) {
			return new ApplicationTypeModel[size];
		}
	};
}
